﻿#if USE_UNI_LUA
using LuaAPI = UniLua.Lua;
using RealStatePtr = UniLua.ILuaState;
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
#else
using LuaAPI = XLua.LuaDLL.Lua;
using RealStatePtr = System.IntPtr;
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
#endif

using XLua;
using System.Collections.Generic;


namespace XLua.CSObjectWrap
{
    using Utils = XLua.Utils;
    public class GFTestAssetUtilityWrap 
    {
        public static void __Register(RealStatePtr L)
        {
			ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			System.Type type = typeof(GFTest.AssetUtility);
			Utils.BeginObjectRegister(type, L, translator, 0, 0, 0, 0);
			
			
			
			
			
			
			Utils.EndObjectRegister(type, L, translator, null, null,
			    null, null, null);

		    Utils.BeginClassRegister(type, L, __CreateInstance, 27, 0, 0);
			Utils.RegisterFunc(L, Utils.CLS_IDX, "GetConfigAsset", _m_GetConfigAsset_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetDataTableAsset", _m_GetDataTableAsset_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetDictionaryAsset", _m_GetDictionaryAsset_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetLuaScriptAsset", _m_GetLuaScriptAsset_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetFontAsset", _m_GetFontAsset_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetSceneAsset", _m_GetSceneAsset_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetSceneColliderAsset", _m_GetSceneColliderAsset_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetSceneZoneAsset", _m_GetSceneZoneAsset_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetSceneRegionAsset", _m_GetSceneRegionAsset_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetSceneHeightMapAsset", _m_GetSceneHeightMapAsset_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetServerNavMapAsset", _m_GetServerNavMapAsset_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetFlyZoneAsset", _m_GetFlyZoneAsset_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetMusicAsset", _m_GetMusicAsset_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetSoundAsset", _m_GetSoundAsset_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetMovieAsset", _m_GetMovieAsset_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetCharacterAsset", _m_GetCharacterAsset_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetEffectAsset", _m_GetEffectAsset_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetCharacterTimeline", _m_GetCharacterTimeline_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetStoryTimeline", _m_GetStoryTimeline_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetUIFormAsset", _m_GetUIFormAsset_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetUIItemAsset", _m_GetUIItemAsset_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetUISoundAsset", _m_GetUISoundAsset_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetAtlasAsset", _m_GetAtlasAsset_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetTextureAsset", _m_GetTextureAsset_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetIndicatorAsset", _m_GetIndicatorAsset_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetDropItemAsset", _m_GetDropItemAsset_xlua_st_);
            
			
            
			
			
			
			Utils.EndClassRegister(type, L, translator);
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int __CreateInstance(RealStatePtr L)
        {
            return LuaAPI.luaL_error(L, "GFTest.AssetUtility does not have a constructor!");
        }
        
		
        
		
        
        
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetConfigAsset_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    string assetName = LuaAPI.lua_tostring(L, 1);
                    
                        string __cl_gen_ret = GFTest.AssetUtility.GetConfigAsset( assetName );
                        LuaAPI.lua_pushstring(L, __cl_gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception __gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + __gen_e);
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetDataTableAsset_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    string assetName = LuaAPI.lua_tostring(L, 1);
                    
                        string __cl_gen_ret = GFTest.AssetUtility.GetDataTableAsset( assetName );
                        LuaAPI.lua_pushstring(L, __cl_gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception __gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + __gen_e);
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetDictionaryAsset_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    string assetName = LuaAPI.lua_tostring(L, 1);
                    
                        string __cl_gen_ret = GFTest.AssetUtility.GetDictionaryAsset( assetName );
                        LuaAPI.lua_pushstring(L, __cl_gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception __gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + __gen_e);
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetLuaScriptAsset_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    string assetName = LuaAPI.lua_tostring(L, 1);
                    
                        string __cl_gen_ret = GFTest.AssetUtility.GetLuaScriptAsset( assetName );
                        LuaAPI.lua_pushstring(L, __cl_gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception __gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + __gen_e);
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetFontAsset_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    string assetName = LuaAPI.lua_tostring(L, 1);
                    bool isCommon = LuaAPI.lua_toboolean(L, 2);
                    
                        string __cl_gen_ret = GFTest.AssetUtility.GetFontAsset( assetName, isCommon );
                        LuaAPI.lua_pushstring(L, __cl_gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception __gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + __gen_e);
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetSceneAsset_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    string assetName = LuaAPI.lua_tostring(L, 1);
                    
                        string __cl_gen_ret = GFTest.AssetUtility.GetSceneAsset( assetName );
                        LuaAPI.lua_pushstring(L, __cl_gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception __gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + __gen_e);
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetSceneColliderAsset_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    string assetName = LuaAPI.lua_tostring(L, 1);
                    
                        string __cl_gen_ret = GFTest.AssetUtility.GetSceneColliderAsset( assetName );
                        LuaAPI.lua_pushstring(L, __cl_gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception __gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + __gen_e);
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetSceneZoneAsset_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    string assetName = LuaAPI.lua_tostring(L, 1);
                    
                        string __cl_gen_ret = GFTest.AssetUtility.GetSceneZoneAsset( assetName );
                        LuaAPI.lua_pushstring(L, __cl_gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception __gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + __gen_e);
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetSceneRegionAsset_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    string assetName = LuaAPI.lua_tostring(L, 1);
                    
                        string __cl_gen_ret = GFTest.AssetUtility.GetSceneRegionAsset( assetName );
                        LuaAPI.lua_pushstring(L, __cl_gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception __gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + __gen_e);
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetSceneHeightMapAsset_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    string assetName = LuaAPI.lua_tostring(L, 1);
                    
                        string __cl_gen_ret = GFTest.AssetUtility.GetSceneHeightMapAsset( assetName );
                        LuaAPI.lua_pushstring(L, __cl_gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception __gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + __gen_e);
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetServerNavMapAsset_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    string assetName = LuaAPI.lua_tostring(L, 1);
                    
                        string __cl_gen_ret = GFTest.AssetUtility.GetServerNavMapAsset( assetName );
                        LuaAPI.lua_pushstring(L, __cl_gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception __gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + __gen_e);
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetFlyZoneAsset_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    string assetName = LuaAPI.lua_tostring(L, 1);
                    
                        string __cl_gen_ret = GFTest.AssetUtility.GetFlyZoneAsset( assetName );
                        LuaAPI.lua_pushstring(L, __cl_gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception __gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + __gen_e);
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetMusicAsset_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    string assetName = LuaAPI.lua_tostring(L, 1);
                    
                        string __cl_gen_ret = GFTest.AssetUtility.GetMusicAsset( assetName );
                        LuaAPI.lua_pushstring(L, __cl_gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception __gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + __gen_e);
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetSoundAsset_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    string assetName = LuaAPI.lua_tostring(L, 1);
                    
                        string __cl_gen_ret = GFTest.AssetUtility.GetSoundAsset( assetName );
                        LuaAPI.lua_pushstring(L, __cl_gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception __gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + __gen_e);
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetMovieAsset_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    string assetName = LuaAPI.lua_tostring(L, 1);
                    
                        string __cl_gen_ret = GFTest.AssetUtility.GetMovieAsset( assetName );
                        LuaAPI.lua_pushstring(L, __cl_gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception __gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + __gen_e);
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetCharacterAsset_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    string assetName = LuaAPI.lua_tostring(L, 1);
                    
                        string __cl_gen_ret = GFTest.AssetUtility.GetCharacterAsset( assetName );
                        LuaAPI.lua_pushstring(L, __cl_gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception __gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + __gen_e);
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetEffectAsset_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    string assetName = LuaAPI.lua_tostring(L, 1);
                    
                        string __cl_gen_ret = GFTest.AssetUtility.GetEffectAsset( assetName );
                        LuaAPI.lua_pushstring(L, __cl_gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception __gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + __gen_e);
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetCharacterTimeline_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    string assetName = LuaAPI.lua_tostring(L, 1);
                    
                        string __cl_gen_ret = GFTest.AssetUtility.GetCharacterTimeline( assetName );
                        LuaAPI.lua_pushstring(L, __cl_gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception __gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + __gen_e);
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetStoryTimeline_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    string assetName = LuaAPI.lua_tostring(L, 1);
                    
                        string __cl_gen_ret = GFTest.AssetUtility.GetStoryTimeline( assetName );
                        LuaAPI.lua_pushstring(L, __cl_gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception __gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + __gen_e);
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetUIFormAsset_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    string assetName = LuaAPI.lua_tostring(L, 1);
                    
                        string __cl_gen_ret = GFTest.AssetUtility.GetUIFormAsset( assetName );
                        LuaAPI.lua_pushstring(L, __cl_gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception __gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + __gen_e);
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetUIItemAsset_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    string assetName = LuaAPI.lua_tostring(L, 1);
                    
                        string __cl_gen_ret = GFTest.AssetUtility.GetUIItemAsset( assetName );
                        LuaAPI.lua_pushstring(L, __cl_gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception __gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + __gen_e);
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetUISoundAsset_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    string assetName = LuaAPI.lua_tostring(L, 1);
                    
                        string __cl_gen_ret = GFTest.AssetUtility.GetUISoundAsset( assetName );
                        LuaAPI.lua_pushstring(L, __cl_gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception __gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + __gen_e);
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetAtlasAsset_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    string assetName = LuaAPI.lua_tostring(L, 1);
                    
                        string __cl_gen_ret = GFTest.AssetUtility.GetAtlasAsset( assetName );
                        LuaAPI.lua_pushstring(L, __cl_gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception __gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + __gen_e);
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetTextureAsset_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    string assetName = LuaAPI.lua_tostring(L, 1);
                    
                        string __cl_gen_ret = GFTest.AssetUtility.GetTextureAsset( assetName );
                        LuaAPI.lua_pushstring(L, __cl_gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception __gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + __gen_e);
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetIndicatorAsset_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    string assetName = LuaAPI.lua_tostring(L, 1);
                    
                        string __cl_gen_ret = GFTest.AssetUtility.GetIndicatorAsset( assetName );
                        LuaAPI.lua_pushstring(L, __cl_gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception __gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + __gen_e);
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetDropItemAsset_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    
                        string __cl_gen_ret = GFTest.AssetUtility.GetDropItemAsset(  );
                        LuaAPI.lua_pushstring(L, __cl_gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception __gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + __gen_e);
            }
            
        }
        
        
        
        
        
        
		
		
		
		
    }
}
